//设置main_box高度
function getheight() {
    $('.main_box').css({
        'minHeight':$(window).height()
    })
}
getheight();
window.onresize=function(){
    getheight()
};